/**
 * @description 赛事管理
 * @author yd_yuliping 2020-11-02
 */
import gameChildren from './gameChildren.js';
const game = [
  {
    path: 'game',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'game',
    redirect: '/game',
    alwaysShow: true,
    meta: {
      title: 'game',
      // code: 'GameManageIdenty',
      icon: 'el-icon-notebook-2',
      deleteCode: true
      // allIdentity: true
    },
    children: [
      {
        path: 'test',
        hidden: true,
        meta: {
          title: 'gameManageIdenty',
          code: 'GameManageIdenty',
          icon: 'el-icon-notebook-2'
        }
      },
      {
        path: 'test3',
        hidden: true,
        meta: {
          title: 'gameTeamMember',
          code: 'TeamMemberManagement',
          icon: 'el-icon-notebook-2'
        }
      },
      {
        path: 'test2',
        hidden: true,
        meta: {
          title: 'gamereport',
          code: 'GameReportIdenty',
          icon: 'el-icon-notebook-2'
        }
      },
      ...gameChildren
    ]
  }
];

export default game;
